import req from '@/utils/request';

//系统消息
export const noticeList = (params) => req.post('/notice/list', params);

//系统消息添加
export const noticeMessageAdd = (params) => req.post('/notice/messageAdd', params);

//系统消息-撤回/已撤回
export const noticeDel = (params) => req.post('/notice/del', params);

//用户反馈列表
export const feedbackList = (params) => req.post('/feedback/list', params);

//用户反馈列表—回复/已回复
export const feedbackReply = (params) => req.post('/feedback/reply', params);

//用户反馈列表详情(举报详情)
export const feedbackDetails = (params) => req.post('/feedback/details', params);

//用户反馈列表详情(故障建议详情)
export const feedbackProposalDetails = (params) => req.post('/feedback/proposalDetails', params);

//系统消息编辑
export const noticeEdit = (params) => req.post('/notice/edit', params);

//系统消息立即推送
export const noticePush = (params) => req.post('/notice/push', params);


//获取oss上传信息
export const ossToken = (params) => req.post('/oss/token', params);

//1.4消息推送
export const noticeMessagePush = (params) => req.post('/notice/messagePush', params);

//1.4消息列表
export const noticeMessageList = (params) => req.post('/notice/messageList', params);

//1.4消息撤回与发送
export const noticeMessageOperation = (params) => req.post('/notice/messageOperation', params);
